/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package testing.jee.entity;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author nova
 */
@Entity
@Table(name = "config")
public class Config implements Serializable {
    @Id
    private String id;
    
    private int hoursPerDay;

    public Config() {
        
    }
    
    public int getHoursPerDay() {
        return hoursPerDay;
    }

    public void setHoursPerDay(int hoursPerDay) {
        this.hoursPerDay = hoursPerDay;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
